package com.jf.cloud.api.multishop.feign;

import com.jf.cloud.common.feign.FeignInsideAuthConfig;
import com.jf.cloud.common.response.ServerResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author chiley
 * @date 2022/6/30 16:42
 */
@FeignClient(value = "jfcloud-multishop", contextId = "walletLogOperation")
public interface WalletLogOperationFeignClient {

    /**
     * 恢复供应商丢失的钱包记录
     * 待结算、已结算
     *
     * @param str
     * @return
     */
    @PostMapping(value = FeignInsideAuthConfig.FEIGN_INSIDER_URL_PREFIX + "/addSupplierLog")
    ServerResponseEntity<Void> addSupplierLog(@RequestBody String str);
}
